/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mcet.outliers.log;


public class Log {
    
    private static final int INFO = 1;
    private static final int DEBUG = 2;
    private static final int ERROR =3;
    private static final int debugLevel = INFO;
    
    public static void info(String message)  {
        if(debugLevel<=INFO){
            System.out.println(message);
        }
        
    }
    
    public static void debug(String message)  {
        if(debugLevel<=DEBUG){
            System.out.println(message);
        }
        
    }
    public static void error(String message)  {
        if(debugLevel<=ERROR){
            System.out.println(message);
        }
        
    }
}
